{% load static %}

<script src="{% static 'converter/js/mayan_image.js' %}" type="text/javascript"></script>

<script>
    MayanImage.setup({
        templateInvalidImage: '{% spaceless %}{% include "documents/invalid_document.html" %}{% endspaceless %}'
    });

    app.addAfterBaseLoadCallback(
        {
            func: MayanImage.intialize,
            self: MayanImage,
        }
    );
</script>
